package io.zhifei.modules.sys.system.entity.customer;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 客户跟进
 * </p>
 *
 * @author duke
 * @since 2020-12-10
 */
@TableName("wp_customer_follow_record")
@Data
public class CustomerFollowEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 跟进记录表
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 客户id
     */
    private Long customerId;

    /**
     * 跟进人id
     */
    private Long followId;

    /**
     * 沟通方式 1电话沟通,2微信....
     */
    private Long contactMethod;

    /**
     * 内容记录
     */
    private String content;

    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 是否删除
     */
    private Integer isDeleted;

}
